//@author A0101728M
#include "CmdSearch.h"


CmdSearch::CmdSearch(cmdTypes cmdType, vector<string> params, string origStr) : 
	Cmd(cmdType, params, origStr) {
		keywords = params;
}
CmdSearch::~CmdSearch(void)
{
}

vector<string> CmdSearch::getKeywordVector() {
	return this->keywords;
}

void CmdSearch::setKeywordVector(vector<string> keywordVector) {
	this->keywords = keywordVector;
}

const string CmdSearch::DONE = "done";
const string CmdSearch::UNDONE = "undone";
const string CmdSearch::DUE = "due";
const string CmdSearch::OVERDUE = "overdue";
const string CmdSearch::ALL = "all";